package com.meowcook.pojo.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-05-09
 * Time: 19:22
 */
@ApiModel(value = "食谱信息详情")
@Data
public class RecipeDetailVO {
    @ApiModelProperty(value = "食谱id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "板块id")
    private Long boardId;

    @ApiModelProperty(value = "食谱名称")
    private String name;

    @ApiModelProperty(value = "食谱描述")
    private String description;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty(value = "封面图片")
    private String coverImage;

    @ApiModelProperty(value = "难度")
    private Byte difficulty;

    @ApiModelProperty(value = "可食用人数")
    private Byte servings;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty(value = "小提示")
    private String tips;

    @ApiModelProperty(value = "点赞数")
    private Integer likeCount;

    @ApiModelProperty(value = "收藏数")
    private Integer collectCount;

    @ApiModelProperty(value = "评论数")
    private Integer commentCount;

    @ApiModelProperty(value = "发布时间")
    private Date createTime;

    @ApiModelProperty(value = "作者信息")
    private UserPartIIVO author;

    @ApiModelProperty(value = "烹饪流程信息")
    private List<CookingVO> cookingList;

    @ApiModelProperty(value = "食材信息")
    private List<MaterialVO> materialList;

    @ApiModelProperty(value = "厨具信息")
    private List<CookerVO> cookerList;
}
